import  axios from "../model/axios"


export const userLogin = (data:any)=>{
    return  axios({
        method:"post",
        url:"/prod-api/api/login",
        data
    })
}
export  const  getInfo = (params:any)=>{
    return  axios({
        method:"get",
        url:"/prod-api/api/common/user/getInfo",
        params,
        headers:{
            "Authorization":window.localStorage.getItem("token")
        }
    })

}

// prod-api/api/common/user/getInfo